﻿<%@ Page Title="Seat Selection" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" 
    CodeBehind="SeatSelection.aspx.cs" Inherits="OnlineCinemaBooking.SeatSelection" %>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <div class="tickets">
        <p>Adult</p>
            <asp:DropDownList ID="DropDownListAdult" runat="server" AutoPostBack="True" 
                onselectedindexchanged="DropDownList_SelectedIndexChanged">
                <asp:ListItem Selected="True">0</asp:ListItem>
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
                <asp:ListItem>3</asp:ListItem>
                <asp:ListItem>4</asp:ListItem>
                <asp:ListItem>5</asp:ListItem>
                <asp:ListItem>6</asp:ListItem>
                <asp:ListItem>7</asp:ListItem>
                <asp:ListItem>8</asp:ListItem>
            </asp:DropDownList>
            <p>Kids</p>
            <asp:DropDownList ID="DropDownListKid" runat="server" AutoPostBack="True" 
                onselectedindexchanged="DropDownList_SelectedIndexChanged">
                <asp:ListItem Selected="True">0</asp:ListItem>
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
                <asp:ListItem>3</asp:ListItem>
                <asp:ListItem>4</asp:ListItem>
                <asp:ListItem>5</asp:ListItem>
                <asp:ListItem>6</asp:ListItem>
                <asp:ListItem>7</asp:ListItem>
                <asp:ListItem>8</asp:ListItem>
            </asp:DropDownList>
            <p>Student</p>
            <asp:DropDownList ID="DropDownListStudent" runat="server" AutoPostBack="True" 
                onselectedindexchanged="DropDownList_SelectedIndexChanged">
                <asp:ListItem Selected="True">0</asp:ListItem>
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
                <asp:ListItem>3</asp:ListItem>
                <asp:ListItem>4</asp:ListItem>
                <asp:ListItem>5</asp:ListItem>
                <asp:ListItem>6</asp:ListItem>
                <asp:ListItem>7</asp:ListItem>
                <asp:ListItem>8</asp:ListItem>
            </asp:DropDownList>
            <p>Senior</p>
            <asp:DropDownList ID="DropDownListSenior" runat="server" AutoPostBack="True" 
                onselectedindexchanged="DropDownList_SelectedIndexChanged">
                <asp:ListItem Selected="True">0</asp:ListItem>
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
                <asp:ListItem>3</asp:ListItem>
                <asp:ListItem>4</asp:ListItem>
                <asp:ListItem>5</asp:ListItem>
                <asp:ListItem>6</asp:ListItem>
                <asp:ListItem>7</asp:ListItem>
                <asp:ListItem>8</asp:ListItem>
            </asp:DropDownList>
            <p>Price Total:</p>
            <asp:Label ID="LabelPrice" runat="server" Text="0"></asp:Label>
        </div>
        <div class="seats">
            <asp:UpdatePanel ID="UpdatePanel" runat="server">
                <ContentTemplate>
                    <asp:ScriptManager ID="ScriptManager" runat="server" EmptyPageUrl=" "></asp:ScriptManager>
                    <asp:Table ID="TableSeats" runat="server" CellPadding="0" CellSpacing="0" BorderWidth="0" BorderStyle="None">
                    </asp:Table>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
        <asp:Button ID="ButtonBack" runat="server" Text="Back" 
            onclick="ButtonBack_Click" />
        <asp:Button ID="ButtonProceed" runat="server" Text="Proceed" 
            onclick="ButtonProceed_Click" />
    </div>
</asp:Content>

